package com.base.app.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.base.app.entity.Article;
import com.mysteel.page.Page;

public interface ArticleService
{
	
	void saveArticle(Article article);
	
	void deleteArticleById(long id, HttpServletRequest request);
	
	void updateArticle(Article article);
	
	Article getArticleById(long id);
	
	Page<Article> queryArticle(Map<String, Object> params, int currentPageNum, int maxPageRowCount);
}
